import { get, post,save,deletep } from './http'


/**
* 工程清单调用地址
* @param {} p 
*/
export const queryUserListUrl = p => post('quality/system/users/queryByCodeOrName', p);

export  const  queryFullName_Url = p =>post('/quality/system/users/queryFullName',p);

/* 查询权限配置信息接口 */
export const queryMenuByCodeOrName_Url =p =>post('/quality/system/menu/queryByCodeOrName', p);

/* 查询值列表接口 */
export const queryVlistSet_Url =p =>post('/quality/system/vlist/getVlistSetList', p);

/* 值列表sql执行接口 */
export const exeVlistSql_Url =p =>post('/quality/system/vlist/exeVlistSql', p);

/* 值列表根据编码查询接口 */
export const getVlistByKey_Url =p =>post('/quality/system/vlist/getVlistByKey', p);

/* 树形列表根据编码查询接口 */
export const getTreeSetByCode_Url =p =>post('/quality/system/tree/getTreeSetByCode', p);

/* 树形列表根据编码和treeSetId查询详情接口 */
export const getTreeSetDetailByTreeId_Url =p =>post('/quality/system/tree/getTreeSetDetailByTreeId', p);

/* 一次加载树形列表执行SQL接口 */
export const exeTreeSetSqlForOne_Url =p =>post('/quality/system/tree/exeTreeSetSqlForOne', p);

/* 异步加载树形列表执行SQL接口 */
export const exeTreeSetSqlForAsync_Url =p =>post('/quality/system/tree/exeTreeSetSqlForAsync', p);

/*获取值列表组件数据 */
export const getGridComData_Url =p =>post('/quality/getGridComData', p);

/* 获取最大行号 */
export const getGridMaxRowNo_Url = p => post('/quality/getGridMaxRowNo', p);

/* 根据行号删除zl_recordnum_detail数据*/
export const deleteRecordnumDetail_Url = p => deletep('/quality/deleteRecordnumDetail', p);
